﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DemoFSUtility
{
    public partial class FrmTransformStrASCII : Form
    {
        public FrmTransformStrASCII()
        {
            InitializeComponent();
        }

        private void btnTransform_Click(object sender, EventArgs e)
        {
            FSUtility.TransformStrASCII transformFun = new FSUtility.TransformStrASCII();

            string first = this.txtFirst.Text.Trim();

            this.txtResult.Text = transformFun.StringToASCII(first);

            this.txtOutput.Text = transformFun.ASCIIToString(this.txtResult.Text);
        }
    }
}
